
<style>
#view td {
	border: 1px solid #000000;
	font-size: 12px;
}
</style>

<div id="view">
<table border="1" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111">
	<tr>
		<td colspan="4" align="center"><h2>固定资产登记表</h2></td>
	</tr>
	<tr>
		<td width="20%" align="right">编号：</td>
		<td width="30%">{[$result.id]}（{[$result.oper_t]}）</td>
		<td width="20%" align="right">启用日期：</td>
		<td width="30%">{[$result.date]}</td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3">{[$result.name]}</td>
	</tr>
	<tr>
		<td align="right">明细：</td>
		<td colspan="3">
		{[foreach name=outer key=key2 item=item2 from=$result.item]} 
		{[$key2+1]}、{[$item2.name]} {[$item2.content|truncate:40:"...":true]}<br/>
		{[/foreach]}
		</td>
	</tr>
	<tr>
		<td align="right">分类：</td>
		<td>{[$result.category]} {[$result.type]}</td>
		<td align="right">所在地点：</td>
		<td>{[$result.location]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content|nl2br]}</td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
		<td align="right">状态：</td>
		<td>{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
		<td align="right">责任人：</td>
		<td>{[$result.emp_t]} [{[$result.emp]}]</td>
	</tr>
</table>
<br	/>
<table>
	<tr align="center">
		<td>序号</td>		
		<td>交接日期</td>
		<td>原使用人</td>
		<td>签名及日期</td>
		
		<td>现使用人</td>
		<td>签名及日期</td>
		<td>经办人</td>
		<td>备注</td>
	</tr>
	{[foreach name=outer key=key item=item from=$result.use]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" height="25">
		<td>{[$no]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.emp_t]}</td>
		<td></td>
		<td>{[$item.accepter_t]}</td>
		<td></td>
		<td>{[$item.oper_t]}</td>
		<td>{[$item.content|truncate:15:"...":true]}</td>
	</tr>
	{[/foreach]}
</table>
</div>